#【练习】打印图案
print("正方形：")
for i in range(1,6,1):
    for j in range(1,6,1):
        print("* ",end="")
    print()

print("直角三角形：")
for i in range(1,6,1):
    for j in range(1,i+1,1):
        print("* ",end="")
    print()

print("倒立直角三角形：")
for i in range(1,6,1):
    for j in range(1,7-i,1):
        print("* ",end="")
    print()

print("等腰三角形：")
for i in range(1,6,1):
    for j in range(1,7-i,1):
        print("  ",end="")
    for j in range(1,2*i,1):
        print("* ",end="")
    print()